package com.zhuang.designpattern.flyweight.util;

import com.zhuang.designpattern.flyweight.Stock;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * description: Activity
 * date: 2022/9/18 19:55
 * author: Zhuang
 * version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Activity {
    private Long id;        // 活动ID
    private String name;    // 活动名称
    private String desc;    // 活动描述
    private Date startTime; // 开始时间
    private Date stopTime;  // 结束时间
    private Stock stock;    // 活动库存
}
